package com.transaction.demo.order.controller;

public class TranContext {
        private Tran tran;

        public TranContext(Tran tran) {
            this.tran = tran;
        }

        public int executeTran(int num) {
            return tran.tran(num);
        }
    }